package com.my.mall.manage.order.service.orderInfoItems;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.my.mall.manage.order.dao.orderInfoItems.OrderInfoItemsManageDao;
import com.my.mall.manage.order.vo.orderInfoItems.OrderInfoItemsManageVo;

@Service
public class OrderInfoItemsManageService {
	
	@Autowired
	OrderInfoItemsManageDao orderInfoItemsManageDao;

	public List<OrderInfoItemsManageVo> selectOrderInfoItemsListByOrderId(int orderId, int iDisplayStart,
			int iDisplayLength) {
		return orderInfoItemsManageDao.selectOrderInfoItemsListByOrderId(orderId, iDisplayStart,
				iDisplayLength);

	}

	public int selectOrderInfoItemsCountByOrderId(int orderId) {
		return orderInfoItemsManageDao.selectOrderInfoItemsCountByOrderId(orderId);

	}

}